<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>Video Player Plugins Demo</title>
	<meta http-equiv="X-UA-Compatible" content="IE=10;" />
	<script th:src='@{/js/videoPlayer/jquery-1.4.4.min.js}'></script>
	<script th:src='@{/js/videoPlayer/jquery.easyui.min.js}'></script>

	<!--
	请不要随意更换jquery的相关文件，否则可能会出现兼容性问题
	-->
	<script th:src='@{/js/videoPlayer/index_play.js}'></script>
	<script th:src='@{/js/videoPlayer/posa.js}'></script>
	<script th:src='@{/js/videoPlayer/basefunction.js}'></script>
	<script th:src='@{/js/videoPlayer/base64.js}'></script>
	<link th:href='@{/css/control/style.css}' rel='stylesheet' />

</head>
<body class="easyui-layout" id="win_main" onload="win_load_main()" >
	<div region="center"  title="" style="overflow:hidden;height:100%">
		<div id="win_pixwin" style="height:100%"></div>	
	</div>


	<script>
		function init_play(){
            //btn_listobject_click('{"type":1,"user":"admin","passwd":"admin","ip":"10.118.132.71","port":2100}');
	        //setTimeout("init_tvwCamera()","2000");
		}
		function init_tvwCamera()
		{
			//var treeNode_copy = {"name":"艾城管委会监控","data":"av/永修县/环保局/1"}
			var treeNode_copy = {"name":"联合化工监控","data":"av/永修县/环保局/3"}
			var g_loginfo_copy = {"type":1,"user":"admin","passwd":"admin","ip":"10.118.132.71","port":2100};
			if(g_loginfo==null)
				return;
			var stream = {
					"type":g_loginfo.type,
					"user":g_loginfo.user,
					"passwd":g_loginfo.passwd,
					"ip":g_loginfo.ip, 
					"port":g_loginfo.port,
					"path":treeNode_copy.data,
					"title":treeNode_copy.name,
					"istrack":false,
					"displayMode":0,
					"hwdecoder":0
				};
			playstreamEx(0, stream);
		}
	</script>
</body>
</html>